home *** CD-ROM | disk | FTP | other *** search
/ Eccentric Dream / Eccentric Dream.iso / Omake-13inch / Omake-13inch.rsrc / CODE_11526_Creation.txt < prev    next >
Text File  |  1993-07-10  |  17KB  |  302 lines

  1. # near model CODE resource
  2. # jump table entries: 6456-6462 (7 of them)
  3. 00000000  4E56 FFFC                link       A6, -0x0004
  4. 00000004  4E5E                     unlink     A6
  5. 00000006  205F                     movea.l    A0, [A7]+
  6. 00000008  544F                     addq.w     A7, 2
  7. 0000000A  4ED0                     jmp        [A0]
  8. 0000000C  4E56 FEFE                link       A6, -0x0102
  9. 00000010  206E 000E                movea.l    A0, [A6 + 0xE]
  10. 00000014  43EE FF00                lea.l      A1, [A6 - 0x100]
  11. 00000018  703F                     moveq.l    D0, 0x3F
  12. label0000001A:
  13. 0000001A  22D8                     move.l     [A1]+, [A0]+
  14. 0000001C  51C8 FFFC                dbf        D0, -0x6 /* 0000001A */
  15. 00000020  4E5E                     unlink     A6
  16. 00000022  205F                     movea.l    A0, [A7]+
  17. 00000024  DEFC 000A                add.w      A7, 0xA /* '\n' */
  18. 00000028  4ED0                     jmp        [A0]
  19. 0000002A  4E56 FFF6                link       A6, -0x000A
  20. 0000002E  4E5E                     unlink     A6
  21. 00000030  205F                     movea.l    A0, [A7]+
  22. 00000032  DEFC 000C                add.w      A7, 0xC
  23. 00000036  4ED0                     jmp        [A0]
  24. fn00000038:
  25. 00000038  4E56 FFFC                link       A6, -0x0004
  26. 0000003C  48E7 0118                movem.l    -[A7], D7,A3,A4
  27. 00000040  266E 0008                movea.l    A3, [A6 + 0x8]
  28. 00000044  286E 000C                movea.l    A4, [A6 + 0xC]
  29. 00000048  426C 0004                clr.w      [A4 + 0x4]
  30. 0000004C  42A7                     clr.l      -[A7]
  31. 0000004E  70FC                     moveq.l    D0, 0xFFFFFFFC
  32. 00000050  2F00                     move.l     -[A7], D0
  33. 00000052  4EAD 19CA                jsr        [A5 + 0x19CA /* export_821 */]
  34. 00000056  2E1F                     move.l     D7, [A7]+
  35. 00000058  70FD                     moveq.l    D0, 0xFFFFFFFD
  36. 0000005A  B087                     cmp.l      D0, D7
  37. 0000005C  57C0                     seq        D0
  38. 0000005E  72FE                     moveq.l    D1, 0xFFFFFFFE
  39. 00000060  B287                     cmp.l      D1, D7
  40. 00000062  57C1                     seq        D1
  41. 00000064  8001                     or.b       D0, D1
  42. 00000066  6708                     beq        +0xA /* 00000070 */
  43. 00000068  397C 0025 0004           move.w     [A4 + 0x4], 0x25 /* '%' */
  44. 0000006E  6026                     bra        +0x28 /* 00000096 */
  45. label00000070:
  46. 00000070  70FF                     moveq.l    D0, 0xFFFFFFFF
  47. 00000072  B06C 0002                cmp.w      D0, [A4 + 0x2]
  48. 00000076  5EC0                     sgt        D0
  49. 00000078  7218                     moveq.l    D1, 0x18
  50. 0000007A  B26C 0002                cmp.w      D1, [A4 + 0x2]
  51. 0000007E  5DC1                     slt        D1
  52. 00000080  8001                     or.b       D0, D1
  53. 00000082  6708                     beq        +0xA /* 0000008C */
  54. 00000084  397C 0019 0004           move.w     [A4 + 0x4], 0x19
  55. 0000008A  600A                     bra        +0xC /* 00000096 */
  56. label0000008C:
  57. 0000008C  4A54                     tst.w      [A4]
  58. 0000008E  6706                     beq        +0x8 /* 00000096 */
  59. 00000090  397C 0046 0004           move.w     [A4 + 0x4], 0x46 /* 'F' */
  60. label00000096:
  61. 00000096  36AC 0002                move.w     [A3], [A4 + 0x2]
  62. 0000009A  6606                     bne        +0x8 /* 000000A2 */
  63. 0000009C  36BC 0004                move.w     [A3], 0x4
  64. 000000A0  600E                     bra        +0x10 /* 000000B0 */
  65. label000000A2:
  66. 000000A2  70FF                     moveq.l    D0, 0xFFFFFFFF
  67. 000000A4  B053                     cmp.w      D0, [A3]
  68. 000000A6  6606                     bne        +0x8 /* 000000AE */
  69. 000000A8  36BC 0005                move.w     [A3], 0x5
  70. 000000AC  6002                     bra        +0x4 /* 000000B0 */
  71. label000000AE:
  72. 000000AE  5A53                     addq.w     [A3], 5
  73. label000000B0:
  74. 000000B0  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  75. 000000B4  4E5E                     unlink     A6
  76. 000000B6  205F                     movea.l    A0, [A7]+
  77. 000000B8  504F                     addq.w     A7, 8
  78. 000000BA  4ED0                     jmp        [A0]
  79. 000000BC  4E56 FFFA                link       A6, -0x0006
  80. 000000C0  48E7 0028                movem.l    -[A7], A2,A4
  81. 000000C4  286E 0008                movea.l    A4, [A6 + 0x8]
  82. 000000C8  2F0C                     move.l     -[A7], A4
  83. 000000CA  486E FFFA                pea.l      [A6 - 0x6]
  84. 000000CE  4EBA FF68                jsr        [PC - 0x98 /* 00000038 */]
  85. 000000D2  4A6C 0004                tst.w      [A4 + 0x4]
  86. 000000D6  6652                     bne        +0x54 /* 0000012A */
  87. 000000D8  7006                     moveq.l    D0, 0x06
  88. 000000DA  B06E FFFA                cmp.w      D0, [A6 - 0x6]
  89. 000000DE  6E26                     bgt        +0x28 /* 00000106 */
  90. 000000E0  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  91. 000000E4  3F3C 000C                move.w     -[A7], 0xC
  92. 000000E8  4EAD 177A                jsr        [A5 + 0x177A /* export_747 */]
  93. 000000EC  206D F4C8                movea.l    A0, [A5 - 0xB38]
  94. 000000F0  302E FFFA                move.w     D0, [A6 - 0x6]
  95. 000000F4  E740                     asl        D0.w, 3
  96. 000000F6  43EC 0016                lea.l      A1, [A4 + 0x16]
  97. 000000FA  45E8 03EE                lea.l      A2, [A0 + 0x3EE]
  98. 000000FE  41F2 0000                lea.l      A0, [A2 + D0.w]
  99. 00000102  22D8                     move.l     [A1]+, [A0]+
  100. 00000104  22D8                     move.l     [A1]+, [A0]+
  101. label00000106:
  102. 00000106  206D F4C8                movea.l    A0, [A5 - 0xB38]
  103. 0000010A  302E FFFA                move.w     D0, [A6 - 0x6]
  104. 0000010E  E940                     asl        D0.w, 4
  105. 00000110  224C                     movea.l    A1, A4
  106. 00000112  5C89                     addq.l     A1, 6
  107. 00000114  45E8 023E                lea.l      A2, [A0 + 0x23E]
  108. 00000118  41F2 0000                lea.l      A0, [A2 + D0.w]
  109. 0000011C  22D8                     move.l     [A1]+, [A0]+
  110. 0000011E  22D8                     move.l     [A1]+, [A0]+
  111. 00000120  22D8                     move.l     [A1]+, [A0]+
  112. 00000122  22D8                     move.l     [A1]+, [A0]+
  113. 00000124  7000                     moveq.l    D0, 0x00
  114. 00000126  2940 001E                move.l     [A4 + 0x1E], D0
  115. label0000012A:
  116. 0000012A  4CDF 1400                movem.l    A2,A4, [A7]+
  117. 0000012E  4E5E                     unlink     A6
  118. 00000130  2E9F                     move.l     [A7], [A7]+
  119. 00000132  4E75                     rts
  120. 00000134  4E56 FFFA                link       A6, -0x0006
  121. 00000138  2F0C                     move.l     -[A7], A4
  122. 0000013A  286E 0008                movea.l    A4, [A6 + 0x8]
  123. 0000013E  2F0C                     move.l     -[A7], A4
  124. 00000140  486E FFFA                pea.l      [A6 - 0x6]
  125. 00000144  4EBA FEF2                jsr        [PC - 0x10E /* 00000038 */]
  126. 00000148  4A6C 0004                tst.w      [A4 + 0x4]
  127. 0000014C  661E                     bne        +0x20 /* 0000016C */
  128. 0000014E  206D F4C8                movea.l    A0, [A5 - 0xB38]
  129. 00000152  302E FFFA                move.w     D0, [A6 - 0x6]
  130. 00000156  E940                     asl        D0.w, 4
  131. 00000158  43E8 023E                lea.l      A1, [A0 + 0x23E]
  132. 0000015C  41F1 0000                lea.l      A0, [A1 + D0.w]
  133. 00000160  224C                     movea.l    A1, A4
  134. 00000162  5C89                     addq.l     A1, 6
  135. 00000164  20D9                     move.l     [A0]+, [A1]+
  136. 00000166  20D9                     move.l     [A0]+, [A1]+
  137. 00000168  20D9                     move.l     [A0]+, [A1]+
  138. 0000016A  20D9                     move.l     [A0]+, [A1]+
  139. label0000016C:
  140. 0000016C  285F                     movea.l    A4, [A7]+
  141. 0000016E  4E5E                     unlink     A6
  142. 00000170  2E9F                     move.l     [A7], [A7]+
  143. 00000172  4E75                     rts
  144. fn00000174:
  145. 00000174  4E56 FFFE                link       A6, -0x0002
  146. 00000178  48E7 0108                movem.l    -[A7], D7,A4
  147. 0000017C  286E 0008                movea.l    A4, [A6 + 0x8]
  148. 00000180  426C 0002                clr.w      [A4 + 0x2]
  149. 00000184  3E2C 0004                move.w     D7, [A4 + 0x4]
  150. 00000188  42A7                     clr.l